package org.example.ims.Repository.Order;

import org.example.ims.Entity.Order.OutStockDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface OutStockDetailRepository extends JpaRepository<OutStockDetail, Integer>, JpaSpecificationExecutor<OutStockDetail> {

    Page<OutStockDetail> findByOrderOrderId(Integer orderOrderId, Pageable pageable);

}